package com.yjt.fresh.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 店铺优惠券
 *
 * @author mcc
 * @date 2018-07-03
 */

public class BeanStoreCoupon implements Parcelable {

    private String REDUCE_MONEY;
    private String ISGET;
    private String START_DATE;
    private String END_DATE;
    private String FULL_MONEY;
    private String USER_NICKNAME;
    private String USER_ID;
    private String CREATE_TIME;
    private String ORDER_NO;
    private String COUPON_ID;
    private String COUPONRECEIVE_ID;
    private int STATUS;
    private String OWNER;
    private int IS_READ;
    private String USE_TIME;
    private String LATITUDE_LONGITUDE;
    private String COUPONTYPE;
    private String LOGO_IMG;
    private String STORE_NAME;
    private String TEL;
    private String COUPON_END_DATE;
    private double DISCOUNT;
    private double COUPON_FULL_MONEY;
    private String COUPON_START_DATE;
    private double COUPON_REDUCE_MONEY;
    private String TITLE;

    private boolean isCheck;

    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }

    public String getUSER_NICKNAME() {
        return USER_NICKNAME;
    }

    public void setUSER_NICKNAME(String USER_NICKNAME) {
        this.USER_NICKNAME = USER_NICKNAME;
    }

    public String getUSER_ID() {
        return USER_ID;
    }

    public void setUSER_ID(String USER_ID) {
        this.USER_ID = USER_ID;
    }

    public String getORDER_NO() {
        return ORDER_NO;
    }

    public void setORDER_NO(String ORDER_NO) {
        this.ORDER_NO = ORDER_NO;
    }

    public String getCOUPONRECEIVE_ID() {
        return COUPONRECEIVE_ID;
    }

    public void setCOUPONRECEIVE_ID(String COUPONRECEIVE_ID) {
        this.COUPONRECEIVE_ID = COUPONRECEIVE_ID;
    }

    public String getOWNER() {
        return OWNER;
    }

    public void setOWNER(String OWNER) {
        this.OWNER = OWNER;
    }

    public int getIS_READ() {
        return IS_READ;
    }

    public void setIS_READ(int IS_READ) {
        this.IS_READ = IS_READ;
    }

    public String getUSE_TIME() {
        return USE_TIME;
    }

    public void setUSE_TIME(String USE_TIME) {
        this.USE_TIME = USE_TIME;
    }

    public String getLATITUDE_LONGITUDE() {
        return LATITUDE_LONGITUDE;
    }

    public void setLATITUDE_LONGITUDE(String LATITUDE_LONGITUDE) {
        this.LATITUDE_LONGITUDE = LATITUDE_LONGITUDE;
    }

    public String getLOGO_IMG() {
        return LOGO_IMG;
    }

    public void setLOGO_IMG(String LOGO_IMG) {
        this.LOGO_IMG = LOGO_IMG;
    }

    public String getSTORE_NAME() {
        return STORE_NAME;
    }

    public void setSTORE_NAME(String STORE_NAME) {
        this.STORE_NAME = STORE_NAME;
    }

    public String getTEL() {
        return TEL;
    }

    public void setTEL(String TEL) {
        this.TEL = TEL;
    }

    public String getCOUPON_END_DATE() {
        return COUPON_END_DATE;
    }

    public void setCOUPON_END_DATE(String COUPON_END_DATE) {
        this.COUPON_END_DATE = COUPON_END_DATE;
    }


    public double getCOUPON_FULL_MONEY() {
        return COUPON_FULL_MONEY;
    }

    public void setCOUPON_FULL_MONEY(int COUPON_FULL_MONEY) {
        this.COUPON_FULL_MONEY = COUPON_FULL_MONEY;
    }

    public String getCOUPON_START_DATE() {
        return COUPON_START_DATE;
    }

    public void setCOUPON_START_DATE(String COUPON_START_DATE) {
        this.COUPON_START_DATE = COUPON_START_DATE;
    }

    public double getCOUPON_REDUCE_MONEY() {
        return COUPON_REDUCE_MONEY;
    }

    public void setCOUPON_REDUCE_MONEY(int COUPON_REDUCE_MONEY) {
        this.COUPON_REDUCE_MONEY = COUPON_REDUCE_MONEY;
    }

    public String getREDUCE_MONEY() {
        return REDUCE_MONEY;
    }

    public void setREDUCE_MONEY(String REDUCE_MONEY) {
        this.REDUCE_MONEY = REDUCE_MONEY;
    }

    public String getISGET() {
        return ISGET;
    }

    public void setISGET(String ISGET) {
        this.ISGET = ISGET;
    }

    public String getSTART_DATE() {
        return START_DATE;
    }

    public void setSTART_DATE(String START_DATE) {
        this.START_DATE = START_DATE;
    }

    public String getEND_DATE() {
        return END_DATE;
    }

    public void setEND_DATE(String END_DATE) {
        this.END_DATE = END_DATE;
    }

    public String getCOUPON_ID() {
        return COUPON_ID;
    }

    public void setCOUPON_ID(String COUPON_ID) {
        this.COUPON_ID = COUPON_ID;
    }

    public String getFULL_MONEY() {
        return FULL_MONEY;
    }

    public void setFULL_MONEY(String FULL_MONEY) {
        this.FULL_MONEY = FULL_MONEY;
    }

    public String getCOUPONTYPE() {
        return COUPONTYPE;
    }

    public void setCOUPONTYPE(String COUPONTYPE) {
        this.COUPONTYPE = COUPONTYPE;
    }

    public double getDISCOUNT() {
        return DISCOUNT;
    }

    public void setDISCOUNT(double DISCOUNT) {
        this.DISCOUNT = DISCOUNT;
    }

    public int getSTATUS() {
        return STATUS;
    }

    public void setSTATUS(int STATUS) {
        this.STATUS = STATUS;
    }

    public String getTITLE() {
        return TITLE;
    }

    public void setTITLE(String TITLE) {
        this.TITLE = TITLE;
    }

    public String getCREATE_TIME() {
        return CREATE_TIME;
    }

    public void setCREATE_TIME(String CREATE_TIME) {
        this.CREATE_TIME = CREATE_TIME;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.REDUCE_MONEY);
        dest.writeString(this.ISGET);
        dest.writeString(this.START_DATE);
        dest.writeString(this.END_DATE);
        dest.writeString(this.FULL_MONEY);
        dest.writeString(this.USER_NICKNAME);
        dest.writeString(this.USER_ID);
        dest.writeString(this.CREATE_TIME);
        dest.writeString(this.ORDER_NO);
        dest.writeString(this.COUPON_ID);
        dest.writeString(this.COUPONRECEIVE_ID);
        dest.writeInt(this.STATUS);
        dest.writeString(this.OWNER);
        dest.writeInt(this.IS_READ);
        dest.writeString(this.USE_TIME);
        dest.writeString(this.LATITUDE_LONGITUDE);
        dest.writeString(this.COUPONTYPE);
        dest.writeString(this.LOGO_IMG);
        dest.writeString(this.STORE_NAME);
        dest.writeString(this.TEL);
        dest.writeString(this.COUPON_END_DATE);
        dest.writeDouble(this.DISCOUNT);
        dest.writeDouble(this.COUPON_FULL_MONEY);
        dest.writeString(this.COUPON_START_DATE);
        dest.writeDouble(this.COUPON_REDUCE_MONEY);
        dest.writeString(this.TITLE);
        dest.writeByte(this.isCheck ? (byte) 1 : (byte) 0);
    }

    public BeanStoreCoupon() {
    }

    protected BeanStoreCoupon(Parcel in) {
        this.REDUCE_MONEY = in.readString();
        this.ISGET = in.readString();
        this.START_DATE = in.readString();
        this.END_DATE = in.readString();
        this.FULL_MONEY = in.readString();
        this.USER_NICKNAME = in.readString();
        this.USER_ID = in.readString();
        this.CREATE_TIME = in.readString();
        this.ORDER_NO = in.readString();
        this.COUPON_ID = in.readString();
        this.COUPONRECEIVE_ID = in.readString();
        this.STATUS = in.readInt();
        this.OWNER = in.readString();
        this.IS_READ = in.readInt();
        this.USE_TIME = in.readString();
        this.LATITUDE_LONGITUDE = in.readString();
        this.COUPONTYPE = in.readString();
        this.LOGO_IMG = in.readString();
        this.STORE_NAME = in.readString();
        this.TEL = in.readString();
        this.COUPON_END_DATE = in.readString();
        this.DISCOUNT = in.readDouble();
        this.COUPON_FULL_MONEY = in.readDouble();
        this.COUPON_START_DATE = in.readString();
        this.COUPON_REDUCE_MONEY = in.readDouble();
        this.TITLE = in.readString();
        this.isCheck = in.readByte() != 0;
    }

    public static final Creator<BeanStoreCoupon> CREATOR = new Creator<BeanStoreCoupon>() {
        @Override
        public BeanStoreCoupon createFromParcel(Parcel source) {
            return new BeanStoreCoupon(source);
        }

        @Override
        public BeanStoreCoupon[] newArray(int size) {
            return new BeanStoreCoupon[size];
        }
    };
}
